Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODTransform


ReadFrom

The ReadFrom method reads this transform's matrix from the specified storage unit.

void ReadFrom (in ODStorageUnit storageUnit);
storageUnit
A reference to the storage unit from which the matrix is to be read.
DISCUSSION
Before calling this method, you must focus the storage unit on the property from which the matrix elements are to be written. The matrix is read from the value of type kODTransform in the focused property. If no such value exists, this transform is reset to an identity transform.

OVERRIDING
If you subclass ODTransform to create a nonlinear transform class, you must override this method. Your override method can call its inherited method at any point in your implementation (it does not matter where).

EXCEPTIONS
kODErrUnfocusedStorageUnit
This storage unit is not focused on a property or a value.
SEE ALSO
The ODTransform::WriteTo method (page 786).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help